import Vue from 'vue';
import App from './App';
import uView from '@/uni_modules/uview-ui'
import {
	request,
} from './common/request.js'

Vue.config.productionTip = false;
Vue.prototype.$request = request
Vue.prototype.toPage = (url)=>{uni.navigateTo({url})}
// 引入全局uView
Vue.use(uView)
// 如此配置即可
uni.$u.config.unit = 'rpx'

const app = new Vue({
	...App
});

app.$mount();
